home *** CD-ROM | disk | FTP | other *** search
- Path: cpsc.ucalgary.ca!usenet
- From: Rob Kremer <kremer@cpsc.ucalgary.ca>
- Newsgroups: comp.lang.c++
- Subject: Borland C++: exceptions aren't caught in dynamically loaded DLL (netscape plug-in)
- Date: Thu, 07 Mar 1996 17:26:58 -0700
- Organization: The University of Calgary
- Message-ID: <313F7ED2.5B17@cpsc.ucalgary.ca>
- NNTP-Posting-Host: vppc.cpsc.ucalgary.ca
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- I've written a Netscape plug-in version of program that works without
- problem as a stand-alone. Plug-ins are DLLs that are loaded by
- Netscape when required. (Netscape is written in MS Visual C++, my
- app is written in Borland C++ v4.52.)
-
- Whenever an exception is thrown in the plug-in, the plug-in itself
- can't catch it. It's as though the "try" and "catch" blocks weren't
- there at all.
-
- Does anyone have an knowledge about this problem, or, better yet,
- a solution? (Other than rewriting to avoid exceptions!)
-